﻿<UserControl x:Class="SQLToolbox.View.UserControls.ucConnectTwoDBs"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:uc="clr-namespace:SQLToolbox.View.UserControls"
          MinHeight="230" MinWidth="650" Height="230" Width="650">
    <UserControl.Resources>

    </UserControl.Resources>
    <Grid Name="placeholder">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="45*" />
            <ColumnDefinition Width="55" />
            <ColumnDefinition Width="45*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition/>
        </Grid.RowDefinitions>


        <DockPanel Name="leftPlacholder" 
            Grid.Column="0" Grid.Row="0"  
            KeyboardNavigation.TabNavigation="Local"
            KeyboardNavigation.DirectionalNavigation="Contained"
            KeyboardNavigation.TabIndex="1"/>
        <DockPanel  Name="rightPlacholder" 
            KeyboardNavigation.TabNavigation="Local"
            KeyboardNavigation.DirectionalNavigation="Contained"
            KeyboardNavigation.TabIndex="2"
            Grid.Column="2" Grid.Row="0"/>
        <Button ToolTip="Swap sides"
                Grid.Column="1" Grid.Row="0" Name="btnSwap" 
                Height="40" Width="40" Padding="0" Click="btnSwap_Click" >
            <Image Source="..\Resources\Swap.ico" Height="32" Width="32"/>
        </Button>
    </Grid>
</UserControl>
